﻿package foli
{
	import foli.Album;
	import flash.events.Event;	
	
	public class GalleryEvent extends Event 
	{	
		// events
		public static const ALBUM_ADDED: String = "album_added";		
		
		// reference to the album which is subject of any event
		public var album : Album;
		
		public function GalleryEvent( type: String, a: Album, bubbles: Boolean = false, cancelable: Boolean = false )
		{
			super(type, bubbles, cancelable);
			album = a;
		}			
 	}
	
}
